Programming with QuickTime VR

| Previous | Chapter contents | Chapter top | Section top | Next |

QTVRSetAnimationSetting

You can use the QTVRSetAnimationSetting function to set the state of an animation setting for an object node.

OSErr QTVRSetAnimationSetting (
                     QTVRInstance qtvr,
                     QTVRObjectAnimationSetting setting,
                     Boolean enable);
qtvr
An instance of a QuickTime VR movie.
setting
An animation setting. See "Animation Settings" for a description of the available animation settings.
enable
A Boolean value that indicates whether the specified animation setting is to be enabled for the specified object node ( true ) or disabled ( false ).
function result
A result code.

DESCRIPTION

The QTVRSetAnimationSetting function sets the state of the animation setting specified by the setting parameter for the object node specified by the qtvr parameter to the state specified by the enable parameter.

SPECIAL CONSIDERATIONS

QTVRSetAnimationSetting is valid only for object nodes.

SEE ALSO

Use QTVRGetAnimationSetting (link) to get the current state of an animation setting for an object node.


© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |